//
//  STButton.swift
//  Demo-04-TabBarTest
//
//  Created by 苏统世 on 16/5/15.
//  Copyright © 2016年 SuTon. All rights reserved.
//

import UIKit

class STButton: UIButton {
    
    override func layoutSubviews() {
        super.layoutSubviews()
        
        self.titleLabel?.frame.origin.x=0
        self.imageView?.frame.origin.x=(self.titleLabel?.frame.size.width)!+3
    }
}
